package com.example.network.demos.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "network")
public class NetworkConfig {

    private static String networkIP;

    private static String tcpClientIPWuxi;

    private static String tcpClientIPOther;

    private static String tcpClientPortWuxi;

    private static String tcpServerPortWuxi;

    private static String tcpFileServerPortWuxi;

    private static String tcpClientPortDongzong;

    private static String tcpServerPortDongzong;

    private static String tcpFileServerPortDongzong;

    private static String tcpClientPortNanchu;

    private static String tcpServerPortNanchu;

    private static String tcpFileServerPortNanchu;

    private static String tcpClientPortFuzou;

    private static String tcpServerPortFuzou;

    private static String tcpFileServerPortFuzou;

    private static String campCodeWuxi;

    private static String campCodeDongzong;

    private static String campCodeNanchu;

    private static String campCodeFuzou;

    /** 上传路径 */
    private static String profile;

    private static long tcpTimeOut;

    private static Boolean fileTransferEnabled;

    public static Boolean getFileTransferEnabled() {
        return fileTransferEnabled;
    }

    public static long getTcpTimeOut() {
        return tcpTimeOut;
    }

    public void setTcpTimeOut(long tcpTimeOut) {
        NetworkConfig.tcpTimeOut = tcpTimeOut;
    }

    public void setFileTransferEnabled(Boolean fileTransferEnabled) {
        NetworkConfig.fileTransferEnabled = fileTransferEnabled;
    }

    public static String getProfile()
    {
        return profile;
    }

    public void setProfile(String profile)
    {
        NetworkConfig.profile = profile;
    }

    public static String getTcpClientIPWuxi() {
        return tcpClientIPWuxi;
    }

    public  void setTcpClientIPWuxi(String tcpClientIPWuxi) {
        NetworkConfig.tcpClientIPWuxi = tcpClientIPWuxi;
    }

    public static String getTcpClientIPOther() {
        return tcpClientIPOther;
    }

    public  void setTcpClientIPOther(String tcpClientIPOther) {
        NetworkConfig.tcpClientIPOther = tcpClientIPOther;
    }

    public static String getNetworkIP() {
        return networkIP;
    }

    public void setNetworkIP(String campCode) {
        NetworkConfig.networkIP = campCode;
    }

    public static String getTcpClientPortWuxi() {
        return tcpClientPortWuxi;
    }

    public void setTcpClientPortWuxi(String tcpClientPortWuxi) {
        NetworkConfig.tcpClientPortWuxi = tcpClientPortWuxi;
    }

    public static String getTcpServerPortWuxi() {
        return tcpServerPortWuxi;
    }

    public void setTcpServerPortWuxi(String tcpServerPortWuxi) {
        NetworkConfig.tcpServerPortWuxi = tcpServerPortWuxi;
    }

    public static String getTcpFileServerPortWuxi() {
        return tcpFileServerPortWuxi;
    }

    public void setTcpFileServerPortWuxi(String tcpFileServerPortWuxi) {
        NetworkConfig.tcpFileServerPortWuxi = tcpFileServerPortWuxi;
    }

    public static String getTcpClientPortDongzong() {
        return tcpClientPortDongzong;
    }

    public void setTcpClientPortDongzong(String tcpClientPortDongzong) {
        NetworkConfig.tcpClientPortDongzong = tcpClientPortDongzong;
    }

    public static String getTcpServerPortDongzong() {
        return tcpServerPortDongzong;
    }

    public void setTcpServerPortDongzong(String tcpServerPortDongzong) {
        NetworkConfig.tcpServerPortDongzong = tcpServerPortDongzong;
    }

    public static String getTcpFileServerPortDongzong() {
        return tcpFileServerPortDongzong;
    }

    public void setTcpFileServerPortDongzong(String tcpFileServerPortDongzong) {
        NetworkConfig.tcpFileServerPortDongzong = tcpFileServerPortDongzong;
    }

    public static String getTcpClientPortNanchu() {
        return tcpClientPortNanchu;
    }

    public void setTcpClientPortNanchu(String tcpClientPortNanchu) {
        NetworkConfig.tcpClientPortNanchu = tcpClientPortNanchu;
    }

    public static String getTcpServerPortNanchu() {
        return tcpServerPortNanchu;
    }

    public void setTcpServerPortNanchu(String tcpServerPortNanchu) {
        NetworkConfig.tcpServerPortNanchu = tcpServerPortNanchu;
    }

    public static String getTcpFileServerPortNanchu() {
        return tcpFileServerPortNanchu;
    }

    public void setTcpFileServerPortNanchu(String tcpFileServerPortNanchu) {
        NetworkConfig.tcpFileServerPortNanchu = tcpFileServerPortNanchu;
    }

    public static String getTcpClientPortFuzou() {
        return tcpClientPortFuzou;
    }

    public void setTcpClientPortFuzou(String tcpClientPortFuzou) {
        NetworkConfig.tcpClientPortFuzou = tcpClientPortFuzou;
    }

    public static String getTcpServerPortFuzou() {
        return tcpServerPortFuzou;
    }

    public void setTcpServerPortFuzou(String tcpServerPortFuzou) {
        NetworkConfig.tcpServerPortFuzou = tcpServerPortFuzou;
    }

    public static String getTcpFileServerPortFuzou() {
        return tcpFileServerPortFuzou;
    }

    public void setTcpFileServerPortFuzou(String tcpFileServerPortFuzou) {
        NetworkConfig.tcpFileServerPortFuzou = tcpFileServerPortFuzou;
    }

    public static String getCampCodeWuxi() {
        return campCodeWuxi;
    }

    public void setCampCodeWuxi(String campCodeWuxi) {
        NetworkConfig.campCodeWuxi = campCodeWuxi;
    }

    public static String getCampCodeDongzong() {
        return campCodeDongzong;
    }

    public void setCampCodeDongzong(String campCodeDongzong) {
        NetworkConfig.campCodeDongzong = campCodeDongzong;
    }

    public static String getCampCodeNanchu() {
        return campCodeNanchu;
    }

    public void setCampCodeNanchu(String campCodeNanchu) {
        NetworkConfig.campCodeNanchu = campCodeNanchu;
    }

    public static String getCampCodeFuzou() {
        return campCodeFuzou;
    }

    public void setCampCodeFuzou(String campCodeFuzou) {
        NetworkConfig.campCodeFuzou = campCodeFuzou;
    }
}
